Changing Flag Attributes |
Get The Wrinkles Out With ConformOverviewIn the last section, we mentioned that Flag Stretch, Flag Bend, and Flag Shear percentage values were only goals for the spring system. Due to the way the flag simulation works, the springs may push and pull each other outside of the desired ranges. The Conform parameter can be used to better enforce the goal of the spring parameters. That is, it can further constrain the springs to create a more accurate system. A side effect of this constraint is that it will make the flag appear more stiff, keeping the flag more upright. This can make the flag have less folds while flapping in the wind. Life Without ConformThe default flag has a Conform value of 7. This mean the spring system tries 7 times as hard to make the flag mesh conform to the goals of Flag Stretch, Flag Bend, and Flag Shear than if Conform were set to 1. Let's see what happens when we remove the Conform calculation.
Setting A High Conform ValueLet's say we want our flag to be rather stiff. We want the wind to blow through the flag, but we don't want it to be too springy. We can set Conform to a high value to achieve this goal.
Usually, Conform values in the range of 1 to 20 are sufficient. There is one more flag parameter to discuss. The next section, Using Air Friction To Slow Things Down, will show how to use Air Friction to gain more control over your flag's behavior.
|